package com.hnhy.hnhyscms_ws.dao;

import com.hnhy.hnhyscms_ws.entity.Orders;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface IOrdersDao {
    List<Orders> getAllOrders ();
    Orders getByOrderNo(@Param("orderNo")String orderNo);
    List<Orders> getByCustomerNo(@Param("customerNo")String customerNo);
    void addOrders(Orders order);
    Orders findMaxId();
    void updateType(Orders order);
    List<Orders> seeAbout(@Param("customerNo")String customerNo,@Param("createTime")String createTime);
}
